package com.dit.action;

import com.opensymphony.xwork2.ActionSupport;

public class SignInAction extends ActionSupport {
	private String userName;
	private String userPassword;

	public String signIn() {
		/*if (userName.equals("a") && userPassword.equals("a")) {
			return SUCCESS;
		} else {
			addFieldError("userName", "Invalid User Name or Password");
			return ERROR;
		}
*/
		return SUCCESS;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

}
